﻿@model WeProjects.Models.ResetPasswordModel

@{
    ViewBag.Title = "ResetPassword";
}

<div id="m-title">
    <h2>重置密码</h2>
    <div id="m-op">
        @Html.ActionLink("返回", "ReturnToUrl", "Account", new { returnUrl = Model.ReturnUrl }, null)
    </div>
</div>

@using (Html.BeginForm("ResetPassword", "Account", FormMethod.Post))
{
    <fieldset class="fly-edit">
        @Html.Hidden("UserName", Model.UserName)
        @Html.Hidden("ReturnUrl", Model.ReturnUrl)
        <div class="editor-label">
            用户名
        </div>
        <div class="editor-field">
            @Html.DisplayFor(model => Model.UserName)
        </div>

        <div class="editor-label">
            新密码
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Password)
        </div>
        <div class="editor-label">
        </div>
        <div class="editor-field">
            <input type="submit" value="保存" class="u-btn u-btn-save3" />
        </div>
    </fieldset>
}